package com.googlecode.maratische.google.gui;

import javax.swing.JButton;

import com.googlecode.maratische.google.listeners.LoginListener;

public class LogoutButton extends JButton implements LoginListener {

	private static final long serialVersionUID = -7409327302320305144L;

	public LogoutButton(String name) {
		super(name);
	}

	public void login() {
		this.setEnabled(true);
	}

	public void logout() {
		this.setEnabled(false);
	}
	
}
